package com.example.smart.room;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.smart.room.bean.AnimalBean;
import com.example.smart.room.bean.ReservationBean;
import com.example.smart.room.dao.AnimalDAO;
import com.example.smart.room.dao.ReservationDAO;

@Database(entities = {AnimalBean.class, ReservationBean.class}, version = 1, exportSchema = false)
public abstract class MyDatabase extends RoomDatabase {

    public abstract AnimalDAO createAnimalDAO();

    public abstract ReservationDAO createReservationDAO();
}
